package com.ktjiaoyu.ktmall.service;

import com.ktjiaoyu.ktmall.entity.Cart;
import com.ktjiaoyu.ktmall.vo.CartVo;

import java.util.List;

public interface CartService {
    List<CartVo> getCartList(String userId);
    List<CartVo> getItemsByIds(List<String> cartIds);
    String addToCart(String userId,String productId,Integer quantity);
    int getCartCount(String userId);
}
